package com.zk.spring;

/**
 * @author ZK
 * @Description 有参构造器注入属性
 * @time 2021/4/24 13:56
 * @note
 */
public class Order {
    private String orderId;
    private String address;


    public Order(String orderId, String address) {
        this.orderId = orderId;
        this.address = address;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId='" + orderId + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
